package com.mall.b2c.bean;

public enum GoodsSort {
	TopDesc("priority desc"),  //默认降序
	SalesDesc("sales desc"), //销售量降序
	PriceAsc("price asc"),	//价格升序
	PriceDesc("price desc"),	//价格降序
	CommentsDesc("cmts desc");  //评论降序
	private final String sortStr;
	
	private GoodsSort(String sortStr){
		this.sortStr = sortStr;
	}

	public String getSortStr() {
		return sortStr;
	}
};
